package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.DestinationTheme;
import cn.wolfcode.luowowo.article.domain.DestinationThemeTag;
import cn.wolfcode.luowowo.article.query.DestinationThemeTagQuery;

import java.util.List;

public interface DestinationThemeTagMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DestinationThemeTag record);

    DestinationThemeTag selectByPrimaryKey(Long id);

    List<DestinationThemeTag> selectAll();

    int updateByPrimaryKey(DestinationThemeTag record);


    List<DestinationThemeTag> selectTagByThemeId(Long themeId);

    List<DestinationThemeTag> selectForList(DestinationThemeTagQuery qo);

    DestinationTheme selectForRealean(Long tagId);
}